<script>
    const { name, ...rest } = $props();
</script>
{rest.name} {'name' in rest}